<template>
  <!-- 一级主标题 -->
  <div class="title" :style="{marginBottom:marginBottom+'px'}">{{ title }}</div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: '主标题'
    },
    marginBottom: {
      type: Number,
      default: 20
    }
  },
  data() {
    return {}
  },
  methods: {}
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
  .title {
    margin-bottom: 20px;
    font-size: 20px;
    color: #303133;
    font-weight: bold;
  }
</style>
